.class Lcom/htc/android/footprints/activity/DetailViewActivity$8;
.super Ljava/lang/Object;
.source "DetailViewActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/activity/DetailViewActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/DetailViewActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/DetailViewActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 843
    iput-object p1, p0, Lcom/htc/android/footprints/activity/DetailViewActivity$8;->this$0:Lcom/htc/android/footprints/activity/DetailViewActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "view"

    .prologue
    .line 844
    new-instance v1, Landroid/content/Intent;

    const-string v2, "com.htc.android.footprints.activity.WrapShowOnMapActivity"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 846
    .local v1, intent:Landroid/content/Intent;
    iget-object v2, p0, Lcom/htc/android/footprints/activity/DetailViewActivity$8;->this$0:Lcom/htc/android/footprints/activity/DetailViewActivity;

    #getter for: Lcom/htc/android/footprints/activity/DetailViewActivity;->mViewSwitcher:Landroid/widget/ViewSwitcher;
    invoke-static {v2}, Lcom/htc/android/footprints/activity/DetailViewActivity;->access$1500(Lcom/htc/android/footprints/activity/DetailViewActivity;)Landroid/widget/ViewSwitcher;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/ViewSwitcher;->getCurrentView()Landroid/view/View;

    move-result-object v2

    check-cast v2, Lcom/htc/android/footprints/view/DetailView;

    invoke-virtual {v2}, Lcom/htc/android/footprints/view/DetailView;->getFootprint()Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v0

    .line 847
    .local v0, data:Lcom/htc/android/footprints/vo/Footprint;
    const-string v2, "target"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 848
    const-string v2, "DETAILVIEW"

    const/4 v3, 0x1

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 849
    const-string v2, "EXTRA_SORT_BY"

    iget-object v3, p0, Lcom/htc/android/footprints/activity/DetailViewActivity$8;->this$0:Lcom/htc/android/footprints/activity/DetailViewActivity;

    #getter for: Lcom/htc/android/footprints/activity/DetailViewActivity;->sortBy:Ljava/lang/String;
    invoke-static {v3}, Lcom/htc/android/footprints/activity/DetailViewActivity;->access$500(Lcom/htc/android/footprints/activity/DetailViewActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 850
    const-string v2, "EXTRA_CATEGORY"

    iget-object v3, p0, Lcom/htc/android/footprints/activity/DetailViewActivity$8;->this$0:Lcom/htc/android/footprints/activity/DetailViewActivity;

    #getter for: Lcom/htc/android/footprints/activity/DetailViewActivity;->categoryKey:Ljava/lang/String;
    invoke-static {v3}, Lcom/htc/android/footprints/activity/DetailViewActivity;->access$300(Lcom/htc/android/footprints/activity/DetailViewActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 851
    const/high16 v2, 0x40

    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 852
    const/high16 v2, 0x400

    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 853
    iget-object v2, p0, Lcom/htc/android/footprints/activity/DetailViewActivity$8;->this$0:Lcom/htc/android/footprints/activity/DetailViewActivity;

    invoke-virtual {v2, v1}, Lcom/htc/android/footprints/activity/DetailViewActivity;->startActivity(Landroid/content/Intent;)V

    .line 854
    return-void
.end method
